package com.tlscpro.zwt.service.impl;

import com.tlscpro.zwt.dao.SystemUserDao;
import com.tlscpro.zwt.service.SystemUserService;
import com.tlscpro.zwt.entity.TlscUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SystemUserServiceImpl implements SystemUserService {
    @Autowired
    SystemUserDao systemUserDao;

    @Override
    public List<TlscUser> selectSystemUserList() {
        return systemUserDao.selectSystemUserList();
    }

    @Override
    public TlscUser selectSystemUser(String userName, String password) {
        return systemUserDao.selectSystemUser(userName, password);
    }

    @Override
    public int insertSystemUser(TlscUser tlscUser) {
        return systemUserDao.insertSystemUser(tlscUser);
    }
}
